package com.oa.common.vo;

import com.oa.entities.Department;

import java.io.Serializable;

public class DepartmentVo implements Serializable {

    private static final long serialVersionUID = -695784174680965571L;

    private Long id;

    private String name;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public DepartmentVo(Department department){
        this.id= department.getId();
        this.name= department.getName();
    }

    public DepartmentVo(){

    }
}
